package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.Clue;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ClueMapper {
    Integer getCount(@Param("m") Map map);

    List getData(@Param("start") Integer start,
                 @Param("length") Integer length,
                 @Param("m") Map map);

    void save(Clue clue);

    Clue get(String id);

    void delete(String clueId);
}
